package org.example.com.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.com.Bean.User;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where username=#{username} and password=md5(#{password})")
    User login(User user) ;
}
